<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="https://lib.baomitu.com/vue/2.5.1/vue.js"></script>
	<style>s
	</style>
</head>
<body>
	
	<div id="app">
		<p v-for="(val,key) in user">值是：{{val}}---键是：{{key}}</p>

	</div>
	<script type="text/javascript">
		var vm=new Vue({
			el:'#app',
			data: {
				user:{
					id:1,
					name:'黄玉栋',
					sex:'男'
				}
			},
			methods:{
			}
		})
	</script>
</body>
</html>